<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<html>

<head>
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
    <script src="https://unpkg.com/vue-router/dist/vue-router.js"></script>
    <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
    <script src="./js/csrf.js"></script>
    <title>职能学习</title>
    <link rel="stylesheet" href="css/style.css" media="screen" type="text/css" />
    <link href="css/font-awesome.css" rel="stylesheet">
    <link rel="stylesheet" href="./css/bread.css" />
</head>

<body>
    <div class="index-header">
        <div class="container">
                <span><a href="index.html" class="icon" style="text-decoration: none;">SHAKESPEARE</a></span>
            <ul class="nav-link-group">
                <li>
                    <a href="find.html">PROJECT
                        <br>学习项目</a>
                </li>
                <li>
                    <a href="guide.html">GUIDE
                        <br>医院导览</a>
                </li>
                <li>
                    <a href="mytest.html">TEST
                        <br>在线测试</a>
                </li>
                <li>
                    <a href="#">CONTACT
                        <br>联系我们</a>
                </li>
            </ul>
            <div class="login-block" id="login-block">
                <a href="./login.html?redirect=learn.html" v-if="user_id === null || user_id === '' || user_id === undefined">登录</a>
                <a href="./register.html" v-if="user_id === null || user_id === '' || user_id === undefined">
                    注册</a>
                <p v-else>欢迎，{{email}}
                    <a href="#" v-on:click="logout">登出</a>
                </p>
            </div>
        </div>
    </div>
    <div id="app">
        <div>
            <div class="input_outer form-group">
                <label>选择阶段
                    <input type="text" class="text" list="dlist2" v-model="stage" v-on:change="changeStage(stage)"/>
                    <datalist id="dlist2">
                        <option v-for="d in caseDetails" v-bind:value="getStageName(d.stage)">{{getStageName(d.stage)}}</option>
                    </datalist>
                </label>
            </div>
        </div>
        <div class="breadPart">

            <ul id="breadcrumb">
                <li>
                    <router-link to="/description">
                        <span class="icon icon-home"> </span>病例描述
                    </router-link>
                </li>
                <li>
                    <router-link to="/pic">
                        <span class="icon icon-double-angle-right"></span>病例图示</router-link>
                </li>
                <li>
                    <router-link to="/video">
                        <span class="icon icon-double-angle-right"></span>病例视频</router-link>
                </li>
                <li>
                    <router-link to="/study">
                        <span class="icon icon-rocket"> </span>职能学习</router-link>
                </li>
            </ul>
            <router-view :description="description" :pics="pics" :videos="videos" :study="study"></router-view>
        </div>
    </div>



    <div class="tail navbar-fixed-bottom">
        <div class="tail_left">
            <div class="tail_left_l">
                <div class="circle_1"></div>
                <div class="text_1">
                    <p>SHAKESPEAR</p>
                </div>
            </div>

            <div class="tail_left_r">
                <div class="text_2">
                    <p>StraBe 12
                        <br>12345 Irgendwo,Deutschland
                        <br>
                        <br>hallo@website.de</p>
                </div>
            </div>
        </div>

        <div class="tail_right">
            <div class="photo1">
                <img src="./img/tail1.png" />
            </div>
            <div class="photo2">
                <img src="./img/tail2.png" />
            </div>
            <div class="photo3">
                <img src="./img/tail3.png" />
            </div>

            <div class="text_3">
                <p>@2016 Shasta.Slle Rechte vorbehalten</p>

            </div>
        </div>
    </div>

    <script src="./js/loginblock.js"></script>
    <script src="./js/learn.js"></script>


</body>

</html>